<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/8/9
  Time: 15:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录页面</title>
</head>
<body>
<h2>登录页面</h2>
<hr/>
<!-- 登录表单提交的默认action的名字一定要叫 login, 当然，如果在spring-security.xml中修改了，则与修改的保持一致 -->
<form name="loginForm" action="${pageContext.request.contextPath}/user_login" method="post">
    <p>用户名：<input type="text" name="username" maxlength="18"/></p>
    <p>密 码：<input type="password" name="password" maxlength="18"/></p>
    <p>
        <input type="submit" value="登录">
        <input type="reset" value="取消">
    </p>
</form>

</body>
</html>
